package com.xiao.tripmateai.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiao.tripmateai.model.domain.Conversation;
import com.xiao.tripmateai.model.domain.SpringAiChatMemory;
import com.xiao.tripmateai.model.dto.chat.UserChatCursorPageRequest;
import com.xiao.tripmateai.model.dto.chat.UserChatCursorPageResponse;
import com.xiao.tripmateai.model.dto.chat.UserChatHistoryRequest;

import java.util.List;

/**
* @author xiao
* @description 针对表【spring_ai_chat_memory】的数据库操作Service
* @createDate 2025-07-28 16:56:13
*/
public interface SpringAiChatMemoryService extends IService<SpringAiChatMemory> {

    List<Conversation> getUserConversations(UserChatHistoryRequest request);

    UserChatCursorPageResponse getUserConversationsByCursor(UserChatCursorPageRequest request);
}
